//
//  GetParks.h
//  HundPark
//
//  Created by Aguilar Rolando on 2013-03-04.
//  Copyright (c) 2013 ARV IT. All rights reserved.
//


#import "Park.h"

@class City;

@protocol CityDelegate
@optional
- (void)finishedSyncPlist;
- (void)finishedGetAmountOfVisitors;
- (void)finishedSavingParkInDB:(Park *) addedPark;
@end

@interface City : NSObject

@property (weak, nonatomic) id <CityDelegate> delegate;
@property (strong,nonatomic)NSMutableArray *parks;

//desingated intializer
- (id)init;
- (void)sortArray:(CLLocation *)currentLocation;
- (void)getAmountOfVisitors;
- (void)saveParkInDB:(Park *)newPark newImage:(UIImage *)parkImage;
- (NSString *) documentsPath;


@end
